package com.tom.architect.day18.simple3.bottomtab.iterator;

import com.tom.architect.day18.simple3.bottomtab.BottomTabItem;
import java.util.Set;

// Set的实现类，可以传递set集合的数据
public class SetIterator<T extends BottomTabItem> implements TabIterator {
    private Set<T> mTabItems;
    private int index;

    public void addItem(T item) {
        mTabItems.add(item);
    }

    @Override
    public BottomTabItem next() {
        // TODO
        return null;
    }

    @Override
    public boolean hasNext() {
        // TODO
        return false;
    }
}
